# CMake package configuration file for the SofaDistanceGrid plugin

@PACKAGE_GUARD@
@PACKAGE_INIT@

find_package(Sofa.Core QUIET REQUIRED)
find_package(Sofa.Component.Collision QUIET REQUIRED)

set(SOFADISTANCEGRID_HAVE_MINIFLOWVR @SOFADISTANCEGRID_HAVE_MINIFLOWVR@)
set(SOFADISTANCEGRID_HAVE_SOFA_GL @SOFADISTANCEGRID_HAVE_SOFA_GL@)

if(SOFADISTANCEGRID_HAVE_MINIFLOWVR)
	find_package(MiniFlowVR QUIET REQUIRED)
endif()

if(SOFADISTANCEGRID_HAVE_SOFA_GL)
	find_package(Sofa.GL QUIET REQUIRED)
endif()

if(NOT TARGET SofaDistanceGrid)
    include("${CMAKE_CURRENT_LIST_DIR}/SofaDistanceGridTargets.cmake")
endif()

check_required_components(SofaDistanceGrid)
set(SofaDistanceGrid_LIBRARIES SOFADISTANCEGRID)
set(SofaDistanceGrid_INCLUDE_DIRS @PACKAGE_SOFADISTANCEGRID_INCLUDE_DIR@ ${SOFADISTANCEGRID_INCLUDE_DIR})

